package com.karrysong.blog_springboot;


import com.karrysong.blog_springboot.controller.ArticleController;
import com.karrysong.blog_springboot.vo.Result;
import com.karrysong.blog_springboot.vo.params.PageParams;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@SpringBootApplication(scanBasePackages = "com.karrysong.blog_springboot")
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class BlogSpringbootApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(BlogSpringbootApplication.class, args);

        ArticleController bean = run.getBean(ArticleController.class);
        System.out.println(bean);
    }

}
